import server from '@/plugin/axios/request_axios.js'
/* eslint-disable */
/**
 * 获取所有资产数据
 * @param {Number} data
 * @returns
 */
export function getAssetsReserve(data) {
  return server('get', '/assetsBeau/getAssetsStandbyList', data)
}

/**
 * 根据id删除单个数据
 * @param {Number} id
 * @returns
 */
export function delAssetsItem(id) {
  return server('delete', '/assetsBeau/deleteAssetsBeau', { params: { id: id }})
}

/**
 * 批量删除数据
 * @param {Number} ids
 * @returns
 */
export function delAssetsItems(ids) {
  return server('delete', '/assetsBeau/deleteAssetsBeaus', { params: { ids: ids.join(',') }})
}

/**
 * 获取资产组数据
 * @param {Number} data
 * @returns
 */
export function getAssetsGroupListData() {
  return server('get', '/assetsGroup/getAssetsGroupList')
}

/**
 * 获取地理位置
 * @param {Number}
 * @returns
 */
// export function position() {
//   return server('get', '/assetsBeau/getPosition')
// }
